Browser profiles are stored on your hard drive in Dreamweaver/Configuration/BrowserProfiles. You can edit existing profiles or create new ones with a text editor (for example, BBEdit, HomeSite, NotePad, or SimpleText). It is not necessary to quit Dreamweaver before editing or creating profiles.
Browser profiles follow a specific format. To avoid parsing errors during target browser checks, keep these rules in mind when editing or creating profiles:
![]() |
The first line is reserved for the name of the profile. It must be followed by a single carriage return. The name on this line appears in the Browser Target Check dialog box and in the target check report. |
![]() |
The second line is reserved for the designator PROFILE_TYPE=BROWSER_PROFILE . Dreamweaver uses this line to determine which documents are browser profiles. It must not be changed or moved. |
![]() |
Two hyphens (-- ) at the beginning of a line indicate that the line will be ignored during the target check process. |
![]() |
The syntax for a tag entry is |
<!ELEMENT |
|
where | |
htmlTag is the tag as it would appear in an HTML document. |
|
tagName is what the tag is called (for example, the <HR> tag is called "horizontal rule"). The Name attribute is optional; if specified, tagName is used in the error message. If a Name is not supplied, htmlTag is used. |
|
unsupportedAttribute is an attribute that is not supported. Any tags or attributes not specifically mentioned are assumed to be unsupported. Specify unsupported tags or attributes only when you want to create a custom error message. |
|
supportedAttribute is an attribute that is supported by htmlTag . Only tags listed without an !Error designation are considered supported by the browser. |
|
validValue is a value that is supported by the attribute. |
|
![]() |
A space must appear before the closing angle bracket (>) on the !ELEMENT line, after the opening parentheses, before the closing parentheses, and before and after each pipe (|) in the value list. |
![]() |
An exclamation point without a space must appear before the words ELEMENT, ATTLIST, Error, msg, and htmlmsg (!ELEMENT, !ATTLIST, !Error, !msg, !htmlmsg ). |
![]() |
!msg messages can contain only plain text. !htmlmsg messages can contain any valid HTML, including hyperlinks. |
![]() |
HTML comments (<!-- --> ) cannot be mentioned specifically in browser profiles because they interfere with parsing. Dreamweaver does not report an error for comments because all browsers support them. |